#ifndef BUTTON_H
#define BUTTON_H

#include<QPushButton>
#include<QMouseEvent>
#include<QWidget>


class Button : public QPushButton
{
    Q_OBJECT
public:
    int statue;
    int BUTTON_LEAVE;
    int BUTTON_ENTER;
    int BUTTON_PRESS;
    bool is_close_btn;
    explicit Button();
    ~Button();
    void set_btn_style(bool close_btn);
};

#endif // BUTTON_H
